public class Compte {

		private String nom;
		private String motDePasse;
		private int solde;

       public Compte(String nom, String motDePasse) {
       	      this.nom = nom;
       	      this.motDePasse = motDePasse;
       	      this.solde = 0;	      
       }

       public int getSolde() {
       	      return this.solde;
       }

       public void setSolde(int solde) {
       	      this.solde = solde;
       }

       public String getNom() {
       	      return this.nom;
       }
       
       public void setNom(String nom) {
       	      this.nom = nom;
       }

       public String getmotDePasse() {
       	      return this.motDePasse;
       }
       
       public void setmotDePasse() {
       	      this.motDePasse = motDePasse;
       }
}
